<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/page/public/taglib.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>索要资源管理</title>
    <% request.setAttribute("menu", 1); %>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <%@ include file="/WEB-INF/page/public/contentmeta.jsp"%>
    <link rel="stylesheet" href="<%=basePath%>plugins/layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="<%=basePath%>css/global.css" media="all" />
    <link rel="stylesheet" href="<%=basePath%>plugins/font-awesome/css/font-awesome.min.css">
    <link rel="stylesheet" href="<%=basePath%>css/tab.css" media="all" />
</head>
<body>
<div class="admin-tab admin-user admin-transform admin-askfor">
    <div class="tab-condition">
        <form class="layui-form clefix" action="">
            <div class="layui-form-item">
                <div class="layui-input-block">
                    <input type="text" name="title" lay-verify="title" autocomplete="off" placeholder="关键字" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-input-block">
                    <input type="text" name="title" lay-verify="title" autocomplete="off" placeholder="索要人" class="layui-input TM-askfor">
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-input-block">
                    <input type="text" name="title" lay-verify="title" autocomplete="off" placeholder="被索要人" class="layui-input TM-askfor">
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-input-inline TM-askfor">
                    <select name="quiz1">
                        <option value="">状态</option>
                        <option value="1">已处理</option>
                        <option value="2">未处理</option>
                    </select>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-input-inline layui-department">
                    <select name="quiz1">
                        <option value="">索要时间</option>
                        <option value="1">1天</option>
                        <option value="2">1月</option>
                    </select>
                </div>
            </div>
            <div class="layui-form-item">
                <button class="layui-btn" lay-submit="" lay-filter="demo2"><i class="layui-icon"></i>搜索</button>
            </div>
        </form>
    </div>
    <div class="layui-field-box">
        <table class="site-table table-hover TM-user">
            <thead>
            <tr>
                <th style="width:210px;">资源名称</th>
                <th style="width:165px;">所在库</th>
                <th style="width:210px;">创建人</th>
                <th style="width:185px;">类别</th>
                <th style="width:215px;">索要人</th>
                <th style="width:180px;">备注</th>
                <th style="width:205px;">索要时间</th>
                <th style="width:145px;">操作</th>
            </tr>
            </thead>
            <tbody>
            <tr>
                <td>安徽建筑第一公司</td>
                <td>公共库</td>
                <td>某某某</td>
                <td>企业</td>
                <td>某某</td>
                <td></td>
                <td>2017-01-12</td>
                <td>
                    <a href="/detail-1" target="_blank" class="layui-btn layui-btn-normal layui-btn-mini transform-btn">通过</a>
                </td>
            </tr>
            <tr>
                <td>安徽建筑第一公司</td>
                <td>公共库</td>
                <td>某某某</td>
                <td>企业</td>
                <td>某某</td>
                <td></td>
                <td>2017-01-12</td>
                <td>
                    <a href="/detail-1" target="_blank" class="layui-btn layui-btn-normal layui-btn-mini transform-btn">通过</a>
                </td>
            </tr>
            <tr>
                <td>安徽建筑第一公司</td>
                <td>公共库</td>
                <td>某某某</td>
                <td>企业</td>
                <td>某某</td>
                <td></td>
                <td>2017-01-12</td>
                <td>
                    <a href="/detail-1" target="_blank" class="layui-btn layui-btn-normal layui-btn-mini transform-btn">通过</a>
                </td>
            </tr>
            <tr>
                <td>安徽建筑第一公司</td>
                <td>公共库</td>
                <td>某某某</td>
                <td>企业</td>
                <td>某某</td>
                <td></td>
                <td>2017-01-12</td>
                <td>
                    <a href="/detail-1" target="_blank" class="layui-btn layui-btn-normal layui-btn-mini transform-btn">通过</a>
                </td>
            </tr>
            <tr>
                <td>安徽建筑第一公司</td>
                <td>公共库</td>
                <td>某某某</td>
                <td>企业</td>
                <td>某某</td>
                <td></td>
                <td>2017-01-12</td>
                <td>
                    <a href="/detail-1" target="_blank" class="layui-btn layui-btn-normal layui-btn-mini transform-btn">通过</a>
                </td>
            </tr>
            <tr>
                <td>安徽建筑第一公司</td>
                <td>公共库</td>
                <td>某某某</td>
                <td>企业</td>
                <td>某某</td>
                <td></td>
                <td>2017-01-12</td>
                <td>
                    <a href="/detail-1" target="_blank" class="layui-btn layui-btn-normal layui-btn-mini transform-btn">通过</a>
                </td>
            </tr>
            <tr>
                <td>安徽建筑第一公司</td>
                <td>公共库</td>
                <td>某某某</td>
                <td>企业</td>
                <td>某某</td>
                <td></td>
                <td>2017-01-12</td>
                <td>
                    <a href="/detail-1" target="_blank" class="layui-btn layui-btn-normal layui-btn-mini transform-btn">通过</a>
                </td>
            </tr>
            <tr>
                <td>安徽建筑第一公司</td>
                <td>公共库</td>
                <td>某某某</td>
                <td>企业</td>
                <td>某某</td>
                <td></td>
                <td>2017-01-12</td>
                <td>
                    <a href="/detail-1" target="_blank" class="layui-btn layui-btn-normal layui-btn-mini transform-btn">通过</a>
                </td>
            </tr>
            </tbody>
        </table>
        <div class="admin-table-page">
            <div id="page" class="page"><div class="layui-box layui-laypage layui-laypage-default" id="layui-laypage-0"><span class="layui-laypage-curr"><em class="layui-laypage-em"></em><em>1</em></span><a href="javascript:;" data-page="2">2</a><a href="javascript:;" data-page="3">3</a><a href="javascript:;" data-page="4">4</a><a href="javascript:;" data-page="5">5</a><span>…</span><a href="javascript:;" class="layui-laypage-last" title="尾页" data-page="25">末页</a><a href="javascript:;" class="layui-laypage-next" data-page="2">下一页</a></div></div>
        </div>
    </div>
</div>
<script type="text/javascript" src="plugins/layui/layui.js"></script>
<script>
    layui.config({
        base: 'plugins/layui/modules/'
    });
    layui.use(['laypage','form'], function() {
        var $ = layui.jquery,
                laypage = layui.laypage;

        $('.TM-tab-info').on('click','a',function(){
            $(this).addClass('active').siblings().removeClass('active');
        });

        //page
        laypage({
            cont: 'page',
            pages: 25 //总页数
            ,
            groups: 5 //连续显示分页数
            ,
            jump: function(obj, first) {
                //得到了当前页，用于向服务端请求对应数据
                var curr = obj.curr;
                if(!first) {
                    //layer.msg('第 '+ obj.curr +' 页');
                }
            }
        });
    });
</script>
</body>

</html>